﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Web;
using HtmlAgilityPack;
using System.Collections;
using System.Threading.Tasks;
using System.IO;
using GerbilLib;
using System.Xml;
using System.Text.RegularExpressions;

namespace MediaGerbil
{
    public partial class Debug : Form
    {
        public Debug()
        {
            InitializeComponent();
            Logger.LogMessageEvent += new EventHandler<LogEventArgs>(logger_LogMessageEvent);
        }

        void logger_LogMessageEvent(object sender, LogEventArgs e)
        {
            richTextBox1.Text += string.Format("[{0}] {1}{2}", DateTime.Now.ToShortTimeString(), e.Message, Environment.NewLine);
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Regex r = new Regex(@".*?([\[Ss]*\d+[\]\. _]*[\[EeXx]+\d+[\]]?).*");
        }
    }
}
